#ifndef DEMOMENU_H
#define DEMOMENU_H

#include <QWidget>
#include <endrawcontext.h>
#include <QComboBox>
#include <QPushButton>
#include <QColor>

class DemoMenu : public QWidget
{
    Q_OBJECT

public:
    DemoMenu( QWidget *parent = 0, EnDrawContext* d = 0 );

public slots:
    void changeBackground( int index );
    void spawnEllipse();
    void setObjectRed( int value );
    void setObjectGreen( int value );
    void setObjectBlue( int value );
    void setObjectAlpha( int value );
    void updateSliders();

private:
    EnDrawContext* drawContext;
    QComboBox comboBox;
    QPushButton ellipseButton;
    QLabel redLabel,greenLabel,blueLabel,alphaLabel,numEllipseLabel;
    QSlider redSlider,greenSlider,blueSlider,alphaSlider;
    QColor currentColor;

};

#endif // DEMOMENU_H
